import PD from '@/views/podcast.vue'
import Fl from '../components/bb/feilei.vue'
import L from '../components/bb/listen.vue'
import Tj from '../components/bb/tuijian.vue'

export const bb = [
  {
    path: '/pd',
    name: 'PD',
    component: PD,
    redirect:"/pd/tuijian",
    children: [
      {
        path: 'feilei',
        name: 'Fl',
        component: Fl
      },
      {
        path: 'listen',
        name: 'L',
        component: L,
        redirect:"/pd/listen/0",
        children: [
          {
            path: "0",
            name: '0',
            component: () => import("@/components/bb/listenone.0.vue")
          },
          {
            path: "1",
            name: '1',
            component: () => import("@/components/bb/listenone.1.vue")
          },
          {
            path: "2",
            name: '2',
            component: () => import("@/components/bb/listenone.2.vue")
          },
          {
            path: "3",
            name: '3',
            component: () => import("@/components/bb/listenone.3.vue")
          }, {
            path: "4",
            name: '4',
            component: () => import("@/components/bb/listenone.4.vue")
          }, {
            path: "5",
            name: '5',
            component: () => import("@/components/bb/listenone.5.vue")
          }, {
            path: "6",
            name: '6',
            component: () => import("@/components/bb/listenone.6.vue")
          }

        ]
      },
      {
        path: 'tuijian',
        name: 'TjBb',
        component: Tj
      },
    ]
  },
  {
    path:"/speak",
    name:"speak",
    component:()=>import("../components/bb/speak.vue")
  },
  {
    path:"/searchBk",
    name:"searchBk",
    component:()=>import("../components/bb/input.vue")
  },
  {
    path:"/searchMusicList",
    name:"searchMusicList",
    component:()=>import("../components/bb/searchMusicList.vue")
  },

  // {
  //   path: '/about',
  //   name: 'About',
  //   // route level code-splitting
  //   // this generates a separate chunk (about.[hash].js) for this route
  //   // which is lazy-loaded when the route is visited.
  //   component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  // }
  // {
  //   path:"/",
  //   redirect:"/tuijian"
  //     },
]

